﻿namespace winS.UnityEditor.ProcessEditor
{
    public readonly struct ConnectionInfo
    {
        public readonly InputPort inputPort;
        public readonly OutputPort outputPort;
        public readonly Connectionline connectionline;

        public ConnectionInfo(Connectionline connectionline)
        {
            this.connectionline = connectionline;
            inputPort = connectionline.inputPort;
            outputPort = connectionline.outputPort;
        }
    }
}